<div id="main" class="main">
  <div class="wrap">
    <ul class="mainContainer">
      <% contents.forEach(function(content) { %>
        <li class="mainItem">
          <a href="/view/?contentId=<%= content.id %>">
            <h3 class="mainItemTitle"><%= content.title %></h3>
            <div class="clearfloat"></div>
            <p class="articleIntro"><%= content.contentIntro %></p>
            <ul class="articleNotes">
              <li class="articleAuthor">by <span><%= content.author %></span></li>
              <li class="articleCount">阅读：<span><%= content.views %></span></li>
              <li class="articleComment">评论：<span><%= content.comments.length %>&nbsp;</span></li>
            </ul>
          </a>
        </li>
      <% }) %>
    </ul>
  </div>
</div>
